<?php

namespace IDock\Insurance\ZYIC\Request;

use IDock\Insurance\ZYIC\Response\PolicyInfoResponse;
use IDock\Insurance\ZYIC\Response\PolicyPaymentResponse;
use IDock\Insurance\ZYIC\ZYICEnums;
use IDock\Insurance\ZYIC\Request\AllZYICRequest;
use IDock\Insurance\ZYIC\Response\SaveOrderResponse;
use IDock\Visitor\PolicyInfoVisitor;
use IDock\Visitor\PolicyPaymentVisitor;
use IDock\Visitor\Premium\PremiumInquiryVisitor;
use IDock\Visitor\ProposalStatusVisitor;
use IDock\Visitor\VehicleActualValueVisitor;

class PolicyInfoRequest extends AllZYICRequest
{
    public $route = 'channelInterface/V08';

    protected $response = PolicyInfoResponse::class;

    protected $urlTip = '保单查询';

    /*** @var  PolicyInfoVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        $arr = [
            'proposalNo' => $this->visitor->policyNo,
        ];
        return $arr;
    }

}
